#include "hcview.h"
#include "qpainter.h"
#include "qbrush.h"
#include "qcolor.h"

HCView::HCView(QWidget *parent) : QWidget(parent)
{

}

void HCView::paintEvent(QPaintEvent *event)
{
    QPainter painter;
    painter.begin(this);
    //painter.setRenderHints(QPainter::SmoothPixmapTransform|QPainter::Antialiasing);
    //painter.setBackground(QBrush(QColor(255, 0, 0)));
    //drawBackground(&painter);
    painter.fillRect(0, 0, this->width(), this->height(), QColor(82, 89, 107));
    painter.end();
}
